<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="UTF-8" />
    <title>Accordion - Readonly</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0" />
    <link href="../../../../../css/ionic.bundle.css" rel="stylesheet" />
    <link href="../../../../../scripts/testing/styles.css" rel="stylesheet" />
    <script src="../../../../../scripts/testing/scripts.js"></script>
    <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>
    <style>
      .grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-row-gap: 20px;
        grid-column-gap: 20px;
      }
    </style>
  </head>
  <body>
    <ion-app>
      <ion-header translucent="true">
        <ion-toolbar>
          <ion-title>Accordion - Readonly</ion-title>
        </ion-toolbar>
      </ion-header>
      <ion-content fullscreen="true" color="light">
        <ion-header collapse="condense">
          <ion-toolbar color="light">
            <ion-title size="large">Accordion - Readonly</ion-title>
          </ion-toolbar>
        </ion-header>

        <div class="grid ion-padding">
          <div class="grid-item">
            <ion-accordion-group>
              <ion-accordion value="first">
                <ion-item slot="header" color="light">
                  <ion-label>First Accordion</ion-label>
                </ion-item>
                <div class="ion-padding" slot="content">First Content</div>
              </ion-accordion>
              <ion-accordion value="second" readonly="true">
                <ion-item slot="header" color="light">
                  <ion-label>Second Accordion (Readonly)</ion-label>
                </ion-item>
                <div class="ion-padding" slot="content">Second Content</div>
              </ion-accordion>
              <ion-accordion value="third">
                <ion-item slot="header" color="light">
                  <ion-label>Third Accordion</ion-label>
                </ion-item>
                <div class="ion-padding" slot="content">Third Content</div>
              </ion-accordion>
            </ion-accordion-group>
          </div>
          <div class="grid-item">
            <ion-accordion-group readonly="true">
              <ion-accordion value="first">
                <ion-item slot="header" color="light">
                  <ion-label>First Accordion in Readonly Group</ion-label>
                </ion-item>
                <div class="ion-padding" slot="content">First Content</div>
              </ion-accordion>
              <ion-accordion value="second">
                <ion-item slot="header" color="light">
                  <ion-label>Second Accordion in Readonly Group</ion-label>
                </ion-item>
                <div class="ion-padding" slot="content">Second Content</div>
              </ion-accordion>
              <ion-accordion value="third">
                <ion-item slot="header" color="light">
                  <ion-label>Third Accordion in Readonly Group</ion-label>
                </ion-item>
                <div class="ion-padding" slot="content">Third Content</div>
              </ion-accordion>
            </ion-accordion-group>
          </div>
          <div class="grid-item">
            <ion-accordion value="second" readonly="true">
              <ion-item slot="header" color="light">
                <ion-label>Accordion Without Group (Readonly)</ion-label>
              </ion-item>
              <div class="ion-padding" slot="content">Second Content</div>
            </ion-accordion>
          </div>
        </div>
      </ion-content>
    </ion-app>
  </body>
</html>
